$OpenBSD: patch-kdecore_tests_kstandarddirstest_cpp,v 1.4 2013/12/08 19:13:32 zhuk Exp $
--- kdecore/tests/kstandarddirstest.cpp.orig	Fri Nov  1 19:45:56 2013
+++ kdecore/tests/kstandarddirstest.cpp	Tue Nov  5 11:05:21 2013
@@ -96,7 +96,7 @@ void KStandarddirsTest::testFindResource()
 #define KIOSLAVE "bin/kioslave.exe"
 #else
 #define EXT ""
-#define KIOSLAVE "kde4/libexec/kioslave"
+#define KIOSLAVE "libexec/kioslave"
 #endif
     const QString bin = KGlobal::dirs()->findResource( "exe", "kioslave" EXT );
     QVERIFY( !bin.isEmpty() );
@@ -248,11 +248,11 @@ void KStandarddirsTest::testFindExe()
     // findExe with a result in libexec
     const QString lnusertemp = KGlobal::dirs()->findExe( "lnusertemp" );
     QVERIFY( !lnusertemp.isEmpty() );
-    QVERIFY( lnusertemp.endsWith( "lib" KDELIBSUFF "/kde4/libexec/lnusertemp" EXT, PATH_SENSITIVITY ) );
+    QVERIFY( lnusertemp.endsWith( "/libexec/lnusertemp" EXT, PATH_SENSITIVITY ) );
 
     // locate("exe") with a result in libexec
     const QString locateExeResult = KGlobal::dirs()->locate("exe", "lnusertemp");
-    QVERIFY(locateExeResult.endsWith("lib" KDELIBSUFF "/kde4/libexec/lnusertemp" EXT, PATH_SENSITIVITY));
+    QVERIFY(locateExeResult.endsWith("/libexec/lnusertemp" EXT, PATH_SENSITIVITY));
 
     // findExe with relative path
     const QString pwd = QDir::currentPath();
